
import 'package:banyou_app/app/config/colors.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class Themes {
  // // 普通模式
  // static final lightTheme = ThemeData.light().copyWith();
  // // 深色模式
  // static final darkTheme = ThemeData.dark().copyWith();
  static final lightTheme = ThemeData.light().copyWith(
    primaryColor: ColorConfig.app_main,
    scaffoldBackgroundColor: ColorConfig.bg_color,
    dividerColor: ColorConfig.diver_color,
    shadowColor: ColorConfig.shadow_color,
    iconTheme: IconThemeData(color: ColorConfig.icon_color, size: 15.sp),
    highlightColor: Colors.transparent,
    bottomNavigationBarTheme:
        BottomNavigationBarThemeData(backgroundColor: ColorConfig.bg_color),
    bottomAppBarTheme: BottomAppBarTheme(
      color: ColorConfig.bg_color,
      // surfaceTintColor: ColorConfig.bg_color
    ),

    ///点击水波纹颜色
    splashColor: Colors.transparent,
    radioTheme: RadioThemeData(
        // fillColor:

        ),
    hintColor: Colors.grey.shade300,
    cardColor: ColorConfig.card_color,
    appBarTheme: AppBarTheme(
        toolbarHeight: 56.0.h,
        backgroundColor: ColorConfig.bg_color,
        titleTextStyle: TextStyle(
            color: ColorConfig.white,
            fontSize: 17.0,
            fontWeight: FontWeight.w600),
        elevation: 0),
    dialogTheme: DialogTheme(
        backgroundColor: Colors.black87,
        elevation: 24.0.sp,
        shape: RoundedRectangleBorder(
            borderRadius: BorderRadius.all(Radius.circular(14.0.r)))),
    // textTheme: TextTheme(
    //     headline1: TextStyle(
    //         color: ColorConfig.headline1_color,
    //         fontSize: 13.sp,
    //         fontWeight: FontWeight.w500),
    //     headline2: TextStyle(
    //         color: ColorConfig.headline1_color,
    //         fontSize: 15.sp,
    //         fontWeight: FontWeight.w500),
    //     subtitle1: TextStyle(
    //         color: ColorConfig.headline4_color,
    //         fontSize: 17.sp,
    //         fontWeight: FontWeight.w600),
    //     bodyText1: TextStyle(
    //         color: ColorConfig.body1_txt_color,
    //         fontSize: 13.sp,
    //         fontWeight: FontWeight.normal),
    //     bodyText2: TextStyle(
    //         color: ColorConfig.body2_txt_color,
    //         fontSize: 16.sp,
    //         fontWeight: FontWeight.normal),
    //     caption:
    //         TextStyle(color: ColorConfig.subtitle_text, fontSize: 12.sp))
  );
}
